package service;

import service.article.interfaces.ArticleProxyMgt;
import service.article.managers.ArticleProxyMgr;
import service.client.interfaces.ClientProxyMgt;
import service.client.managers.ClientProxyMgr;
import service.employee.interfaces.EmployeeProxyMgt;
import service.employee.managers.EmployeeProxyMgr;
import service.sale.interfaces.SaleProxyMgt;
import service.sale.managers.SaleProxyMgr;

public class ServiceFacade {
	/**
	 * Singleton implementation begin
	 */
	private static ServiceFacade instance = null;

	private ServiceFacade() {
	}

	public static ServiceFacade getInstance() {
		if (instance == null)
			instance = new ServiceFacade();
		return instance;
	}
	/**
	 * Singleton implementation end
	 */
	
	public ArticleProxyMgt getArticleProxyMgt() {
		return ArticleProxyMgr.getInstance();
	}
	
	public SaleProxyMgt getSaleProxyMgt(){
		return SaleProxyMgr.getInstance();
	}
	
	public ClientProxyMgt getClientProxyMgt(){
		return ClientProxyMgr.getInstance();
	}
	
	public EmployeeProxyMgt getEmployeeProxyMgt(){
		return EmployeeProxyMgr.getInstance();
	}


}
